Skip to main content

Query Sub-Account List (Cursor Pagination)

Type: GET

Description: /v4/user/account/list

Queries the sub-accounts belonging to the broker with cursor pagination. Sign the request with the broker master account's API Key. For large numbers of sub-accounts, use this endpoint instead of the unpaginated Query Sub-Accounts endpoint.

Parameters​

NameTypeMandatoryDefaultDescriptionRanges
typestringfalse-Account type; use BROKER_SUB for sub-accountsBROKER_SUB
cursorlongfalse-Id of the last account on the previous page; accounts are returned in ascending id order-
limitintfalse100Items per page1-500
accountNamestringfalse-Filter by account name-

Request Example​

curl -X GET '{baseUrl}/v4/user/account/list?type=BROKER_SUB&limit=100' \
-H 'validate-algorithms: HmacSHA256' \
-H 'validate-appkey: {accessKey}' \
-H 'validate-recvwindow: 5000' \
-H 'validate-timestamp: {timestamp}' \
-H 'validate-signature: {signature}'

Response Example​

Response
{
"rc": 0,
"mc": "SUCCESS",
"result": {
"items": [
{
"id": "10645823292041",
"accountName": "bkuat05881051@9807285125185",
"userId": 9807285125185,
"level": 2,
"type": 7,
"createTime": "2026-10-16 09:52:52",
"updateTime": "2026-10-16 09:52:52"
}
],
"hasNext": true,
"nextCursor": 10645823357633
}
}

Response Parameters​

NameTypeDescription
items[].idstringSub-account id
items[].accountNamestringAccount name
items[].userIdlongBroker master account uid
items[].levelintAccount level (2=sub-account)
items[].typeintAccount type (7=BROKER_SUB)
items[].createTimestringCreation time
items[].updateTimestringUpdate time
hasNextbooleanWhether there is a next page
nextCursorlongCursor for the next page